<?php
$this->breadcrumbs=array(
	'分类'=>array('index'),
	$parentName=>array('view', 'id'=>$model->fid),
	$model->name,
);

$this->menu=array(
	array('label'=>'分类列表', 'url'=>array('index')),
	array('label'=>'创建分类', 'url'=>array('create', 'fid'=>$model->id)),
	array('label'=>'更新分类', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'删除分类', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'管理分类', 'url'=>array('admin')),
);

$this->category = HandleBox::getCategory();
?>

<h1><?php echo $model->name; ?></h1>

<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_nodelist',
)); ?>